package com.quanyan.comment.response;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/5/27.
 * 评论查询子项目返回对象
 */
public class RespCommentDetailScore implements Serializable {

    /**
     * 评论业务项目评价id
     */
    private Integer commentDetailScoreId;

    /**
     * 关联评论id
     */
    private Integer commentId;

   /**
     * 业务项目分数
     */
    private Double commentDetailScore = 0.0;

    /**
     * 评论项目名称
     */
    private String commentDetailName;


    /**
     * 评论项目编码
     */
    private String commentDetailId;


    /**
     * 总分
     */
    private Double sumScore=0.0;

    /***
     * 次数
     */
    private Integer count = 0;

    /***
     * 平均分
     */
    private Double avgScore=0.0;


    public String getCommentDetailId() {
        return commentDetailId;
    }

    public void setCommentDetailId(String commentDetailId) {
        this.commentDetailId = commentDetailId;
    }

    public Double getSumScore() {
        return sumScore;
    }

    public void setSumScore(Double sumScore) {
        this.sumScore = sumScore;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(Double avgScore) {
        this.avgScore = avgScore;
    }

    public RespCommentDetailScore() {
    }

    public Integer getCommentDetailScoreId() {
        return commentDetailScoreId;
    }

    public void setCommentDetailScoreId(Integer commentDetailScoreId) {
        this.commentDetailScoreId = commentDetailScoreId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Double getCommentDetailScore() {
        return commentDetailScore;
    }

    public void setCommentDetailScore(Double commentDetailScore) {
        this.commentDetailScore = commentDetailScore;
    }

    public String getCommentDetailName() {
        return commentDetailName;
    }

    public void setCommentDetailName(String commentDetailName) {
        this.commentDetailName = commentDetailName;
    }

    public String getCommentDetailCode() {
        return commentDetailId;
    }

    public void setCommentDetailCode(String commentDetailId) {
        this.commentDetailId = commentDetailId;
    }

    @Override
    public String toString() {
        return "RespCommentDetailScore{" +
                "commentDetailScoreId=" + commentDetailScoreId +
                ", commentId=" + commentId +
                ", commentDetailScore=" + commentDetailScore +
                ", commentDetailName='" + commentDetailName + '\'' +
                ", commentDetailId='" + commentDetailId + '\'' +
                ", sumScore=" + sumScore +
                ", count=" + count +
                ", avgScore=" + avgScore +
                '}';
    }
}
